package com.zhangkunhao.notes.entity.Do;

import com.zhangkunhao.notes.annotation.TableField;
import com.zhangkunhao.notes.annotation.TableId;
import com.zhangkunhao.notes.annotation.TableName;


/**
 * 关注的话题列表
 *
 * @author 20642
 */
@TableName(name = "tb_pursue_topic")
public class TopicPursueList {

    @TableId(value = "id")
    private Integer id;
    @TableField(value = "topic_id")
    private Integer topicId;
    /**
     * 关注者的用户id
     */
    @TableField(value = "follower_id")
    private Integer followerId;
    @TableField(value = "topic_name")
    private String topicName;

    public TopicPursueList() {
    }

    public TopicPursueList(Integer id, Integer topicId, Integer followerId, String topicName) {
        this.id = id;
        this.topicId = topicId;
        this.followerId = followerId;
        this.topicName = topicName;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return topicId
     */
    public Integer getTopicId() {
        return topicId;
    }

    /**
     * 设置
     *
     * @param topicId：
     */
    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    /**
     * 获取
     *
     * @return followerId
     */
    public Integer getFollowerId() {
        return followerId;
    }

    /**
     * 设置
     *
     * @param followerId：
     */
    public void setFollowerId(Integer followerId) {
        this.followerId = followerId;
    }

    /**
     * 获取
     *
     * @return topicName
     */
    public String getTopicName() {
        return topicName;
    }

    /**
     * 设置
     *
     * @param topicName：
     */
    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    @Override
    public String toString() {
        return "TopicPursueList{id = " + id + ", topicId = " + topicId + ", followerId = " + followerId + ", topicName = " + topicName + "}";
    }
}
